const columns = [
    {
        title: '序号',
        scopedSlots: {customRender: 'index'},
    },
    {
        title: '物资名称',
        dataIndex: 'materialName',
    },
    {
        title: '物料编码',
        dataIndex: 'materialCode',
    },
    {
        title: '规格型号',
        dataIndex: 'materialModel',
    },
    {
        title: '计量单位',
        dataIndex: 'materialUnit',
    },
    {
        title: '皮重',
        dataIndex: 'tare',
        scopedSlots: { customRender: 'tare' },
    },
    {
        title: '毛重',
        dataIndex: 'grossWeight',
        scopedSlots: { customRender: 'grossWeight' },
    },
    {
        title: '净重',
        dataIndex: 'netWeight',
        scopedSlots: { customRender: 'netWeight' },
    },
    {
        title: '单价（元）',
        dataIndex: 'unitPrice',
        scopedSlots: { customRender: 'unitPrice' },
    },
    {
        title: '金额（元）',
        dataIndex: 'amount',
        scopedSlots: { customRender: 'amount' },
    },
    {
        title: '车号',
        dataIndex: 'carNum',
        scopedSlots: { customRender: 'carNum' },
    },
    {
        title: '操作',
        dataIndex: 'operation',
        scopedSlots: {customRender: 'operation'}
    }
]
const columnsNoAct = [
    {
        title: '序号',
        scopedSlots: {customRender: 'index'},
    },
    {
        title: '物资名称',
        dataIndex: 'materialName',
    },
    {
        title: '物料编码',
        dataIndex: 'materialCode',
    },
    {
        title: '规格型号',
        dataIndex: 'materialModel',
    },
    {
        title: '计量单位',
        dataIndex: 'materialUnit',
    },
    {
        title: '皮重',
        dataIndex: 'tare',
        scopedSlots: { customRender: 'tare' },
    },
    {
        title: '毛重',
        dataIndex: 'grossWeight',
        scopedSlots: { customRender: 'grossWeight' },
    },
    {
        title: '净重',
        dataIndex: 'netWeight',
        scopedSlots: { customRender: 'netWeight' },
    },
    {
        title: '单价（元）',
        dataIndex: 'unitPrice',
        scopedSlots: { customRender: 'unitPrice' },
    },
    {
        title: '金额（元）',
        dataIndex: 'amount',
        scopedSlots: { customRender: 'amount' },
    },
    {
        title: '车号',
        dataIndex: 'carNum',
        scopedSlots: { customRender: 'carNum' },
    },
]
export {columns,columnsNoAct}
